package com.dm.mapper;

import com.dm.pojo.db.Database;
import com.dm.pojo.db.Field;
import com.dm.pojo.db.Table;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MysqlSystemMapper {

    List<Database> fetchDatabase();

    List<Table> fetchTable(Database database);

    List<Field> fetchField(@Param("database") String database,@Param("table") String table);


}
